home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / security / Watcher / build_any.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-07-14  |  350 b   |  24 lines

  1. /*
  2.    build_any: build an any change structure for the parser.
  3.  
  4.    Kenneth Ingham
  5.  
  6.    Cpyright (C) 1988 The Univversity of New Mexico
  7. */
  8.  
  9. #include "defs.h"
  10. #include "y.tab.h"
  11.  
  12. struct change_fmt_st *
  13. build_any(string)
  14. char *string;
  15. {
  16.     struct change_fmt_st *p;
  17.  
  18.     p = allocate(struct change_fmt_st);
  19.     p->name = string;
  20.     p->fmt.type = ANY;
  21.  
  22.     return p;
  23. }
  24.